.class Les/dz$d$b;
.super Ljava/lang/Object;
.source "MusicEditMenuProvider.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/dz$d;->onMenuItemClick(Landroid/view/MenuItem;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/util/List;

.field final synthetic b:Les/dz$d;


# direct methods
.method constructor <init>(Les/dz$d;Ljava/util/List;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/dz$d$b;->b:Les/dz$d;

    iput-object p2, p0, Les/dz$d$b;->a:Ljava/util/List;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 4

    .line 1
    iget-object v0, p0, Les/dz$d$b;->b:Les/dz$d;

    iget-object v0, v0, Les/dz$d;->a:Les/dz;

    invoke-static {v0}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->T()Ljava/util/List;

    move-result-object v0

    .line 2
    iget-object v1, p0, Les/dz$d$b;->a:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge p2, v1, :cond_0

    .line 3
    iget-object v1, p0, Les/dz$d$b;->b:Les/dz$d;

    iget-object v1, v1, Les/dz$d;->a:Les/dz;

    invoke-static {v1}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v1

    iget-object v2, p0, Les/dz$d$b;->a:Ljava/util/List;

    invoke-interface {v2, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Les/to;

    invoke-virtual {v1, v0, p2}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->a(Ljava/util/List;Les/to;)V

    goto :goto_0

    .line 4
    :cond_0
    new-instance p2, Lcom/estrongs/android/ui/dialog/d0;

    iget-object v1, p0, Les/dz$d$b;->b:Les/dz$d;

    iget-object v1, v1, Les/dz$d;->a:Les/dz;

    .line 5
    invoke-static {v1}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v1

    iget-object v2, p0, Les/dz$d$b;->b:Les/dz$d;

    iget-object v2, v2, Les/dz$d;->a:Les/dz;

    invoke-static {v2}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v2

    const v3, 0x7f11064e

    invoke-virtual {v2, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const-string v3, ""

    invoke-direct {p2, v1, v2, v3}, Lcom/estrongs/android/ui/dialog/d0;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 6
    new-instance v1, Les/dz$d$b$a;

    invoke-direct {v1, p0, v0}, Les/dz$d$b$a;-><init>(Les/dz$d$b;Ljava/util/List;)V

    invoke-virtual {p2, v1}, Lcom/estrongs/android/ui/dialog/d0;->a(Lcom/estrongs/android/ui/dialog/d0$c;)V

    .line 7
    invoke-virtual {p2}, Lcom/estrongs/android/ui/dialog/d0;->show()V

    .line 8
    :goto_0
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    return-void
.end method
